<div class="pad-10" >
    
    <div class="navigate">
		<h1>商品分类列表</h1>
  	</div>
  	

    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width="8%" style="font-size:12px;">分类编号</th>
                <th width=80>名称名称</th>
                <th width=200>上级分类</th>
                <th width=60>排序</th>           
                <th width=30>状态</th>
                <th width=30>操作</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="cates" id="c" >
        <tr>
        	<td align="center">{$c.id}</td>
            <td align="center">{$c.name}</td>
            <td align="center">{$c.parent_name}</td>
            <td align="center">{$c.ord}</td>
            <td align="center">
            	<if condition="$c.disabled eq 1">
				<span class="color-red">禁用</span>
				<else />
				<span class="color-green">启用</span>
				</if>
            </td>            
            <td align="center">
            	<a href="/index.php/Admin/Cate/detail?id={$c.id}" target="_self">编辑</a>
            </td>
        </tr>
        </volist>
    	</tbody>
    </table>

    </div>
    
</div>
